package com.lht.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单统计表实体
 *
 * @author ZhengZhanWu
 * @date 2020-01-14 23:33:06
 */
@Data
@NoArgsConstructor
@TableName("lst_order_statistics")
public class OrderStatisticsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 创建时间
     */
    private Date createAt;
    /**
     * 更新时间
     */
    private Date updateAt;
    /**
     * 是否删除   0:未删除(默认)   1:删除
     */
    private String isDelete;
    /**
     * 推销员用户id
     */
    private Long promoUserId;
    /**
     * 月，格式yyyy-MM
     */
    private String month;
    /**
     * 总签单数
     */
    private Integer totalOrder;
    /**
     * 总订单金额
     */
    private BigDecimal totalOrderAmount;

    public static final String ID = "id";
    public static final String CREATE_AT = "create_at";
    public static final String UPDATE_AT = "update_at";
    public static final String PROMO_USER_ID = "promo_user_id";
    public static final String MONTH = "month";
    public static final String TOTAL_ORDER = "total_order";
    public static final String TOTAL_ORDER_AMOUNT = "total_order_amount";
}
